package com.seata.demo.cloud;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication(exclude = {
        DataSourceAutoConfiguration.class
})
@MapperScan("com.seata.demo.cloud.dao")
@EnableDiscoveryClient
@EnableAsync(proxyTargetClass = true)
@EnableFeignClients(basePackages = "com.seata.demo.cloud.client")
public class AccountApplication {

    public static void main(String[] args) {

    }
}
